package dao.impl.jd;

import dao.jd.EquipDao;
import dao.jd.PlayerDao;
import entity.jd.Equip;

/**
 * @author 胡小超
 * 2024/12/5 下午4:03
 */
public class EquipImpl implements EquipDao {
    private  PlayerDao playerDao;

    public void setPlayerDao(PlayerDao playerDao) {
        this.playerDao = playerDao;
    }
    //输出装备
    @Override
    public void print(Equip equip) {
        System.out.println("装备名称: " + equip.getName());
        System.out.println("装备类型: " + equip.getType());
        System.out.println("攻击力加成: " + equip.getAttackPlus());
        System.out.println("防御力加成: " + equip.getDefensePlus());
        System.out.println("速度加成: " + equip.getSpeedPlus());
    }
}
